﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TQ.Sharepoint.Webparts.TwitterWebpart.Utilities
{
    internal static class Helper
    {
        internal static String EnclosedDiv(this string value)
        {
            return String.Format("<div>{0}</div>", value);
        }

        internal static String EncloseStyle(this string value)
        {
            return String.Format("<link href='../../../_layouts/TQ.Sharepoint.Webparts/Style/{0}' rel='stylesheet' type='text/css' />",value);
        }

        internal static String EncloseScript(this string value)
        {
            return String.Format("<script src='../../../_layouts/TQ.Sharepoint.Webparts/Script/{0}' type='text/javascript'></script>", value);
        }
    }
}
